package com.epoint.arcsoftface.api;

import com.google.gson.JsonObject;

/**
 * @author:张健
 * @date: 2023/7/13
 * @description:
 */
public interface FaceRegonizeCallBack {

    /**
     * 验证失败
     * @param code
     * @param error
     * @param obj
     */
    void refreshViewWithFailure(int code, String error, JsonObject obj);

    //验证成功
    void refreshViewWithSuccess(JsonObject obj);

    /**
     * 匹配失败
     * @param score
     */
    void refreshViewWithFailureScore(float score);


    void onGetFaceCallBack(byte[] nv21);
}
